<?php
namespace decorator;

class Shorts extends ClothesDecorator
{
    public function __construct(ComponentInterface $component)
    {
        $this->_component = $component;
    }

    public function show() 
    {
        parent::show();
        //做了其他事情：
        echo "穿上了短裤~\n";
    }
}